package com.mediastory.spsserver.category.dao;

import java.util.List;
import java.util.Map;

import com.mediastory.spsserver.category.domain.Category;
import com.mediastory.spsserver.content.domain.Content;

/**
 * @author Jaewon Choi
 *
 */
public interface CategoryDao {
	
	public List<Category> SelectList(Map<String, Object> condition) throws Exception;
	
	public Integer SelectListTotalCnt(Map<String, Object> condition) throws Exception;
	
	public Category select(Integer idx) throws Exception;
	
	public Category insert(Category Category) throws Exception;
	
	public Category update(Category Category) throws Exception;
	
	public int delete(Map<String, Object> condition) throws Exception;
	
	//dispOrder 설정
	public List<Content> SelectListInCont(Map<String, Object> condition) throws Exception;
	
	public Integer SelectListInContTotalCnt(Map<String, Object> condition) throws Exception;
	
	public List<Content> SelectListOutCont(Map<String, Object> condition) throws Exception;
	
	public Integer insertDispOrder(Map<String, Object> condition) throws Exception;
	
	public Integer deleteDispOrder(Map<String, Object> condition) throws Exception;
	
}